#!/bin/bash
pid=$(ps aux | grep $1 | grep prod | awk '{print $2}')

if [ "$pid" == "" ]; then
    echo "程序未启动，无需杀死"
else
    kill -9 $pid
fi